
    <div class="main">
    	<div class="mainLeft">
        	<img src="resource/images/product.gif" /><!-- 隐式块级 -->
            <ul class="cate">
            	<li class="cateTop"></li>
                <li class="cateMid">
                	<a href="#">商务会议</a>
                    <a href="#">商务会议</a>
                    <a href="#">商务会议</a>
                    <a href="#">商务会议</a>
                </li>
                <li class="cateBtm"></li>
            </ul>
            <img src="resource/images/search.gif" />
            <div class="search">
            <form>
            	<p><input type="text" name="keyword" size="15" /></p>
            	<p>
                	<select name="cate">
                		<option value="">请选择</option>
                    	<option value="">商务会议</option>
                    	<option value="">商务会议</option>
                	</select>
                </p>
                <p><input type="image" src="resource/images/search_left.gif" /></p>
            </form>
            </div>
        </div>
        <div class="mainRight">
        	<div class="rightTOP"></div>
            <div class="rightMid">
            	<div class="breadCrumb">您现在的位置是：新闻中心</div>
                <ul class="news">
                    <?php foreach ($arr as $key => $value):?>
                	<li><a href="html/<?php echo md5($value['id']);?>.html"><?php echo $value['title'];?></a><span style="float:right"><?php echo substr($value['time'],0,-10);?></span></li> 
             		<?php endforeach;?>
                </ul>
            </div>
            <div class="rightBtm"></div>
            <form method="post" action="index.php?c=news&a=list"  style=" width:400px; margin-left:200px;">
                <div id="page" class="page" style=" margin:auto;">
                <ul>
                <?php echo $page;?>
                </ul>
                </div>
             </form>
        </div>
        <div class="clear"></div>    
    </div>
<script>
                    $('#page a').live('click',function(){
                        var url=$(this).attr('href');
                        $.ajax({
                            type:"get",
                            url:url,
                            dataType:"json",
                            success:function(json){
                                // alert(json);
                            var str='';
                            for(var i=0;i<json.arr.length;i++){
                            str+='<li>';
                            str+='<a href="#">'+json.arr[i].title+'</a>';
                            str+='<span style="float:right">'+json.arr[i].time.substr(0,10)+'</span>';
                            str+='</li>';
                            }
                            $('.news').html(str);
                            $('#page').html('<ul>'+json.page+'</ul>');
                                },
                                error:function(){
                                    alert('失败')
                                }
                            })
                        return false;
                        })
                </script>